package com.wish.contract.service;

import com.wish.contract.entity.SfTermination;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wish.contract.entity.TCwPaymentPlan;
import com.wish.contract.entity.TSfContract;
import com.wish.contract.entity.vo.RequestSearchSfsDto;
import com.wish.contract.entity.vo.ResponseSearchSfsDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaocui
 * @since 2022-03-29
 */
public interface ISfTerminationService extends IService<SfTermination> {


    List<ResponseSearchSfsDto> searchContractList(RequestSearchSfsDto requestSearchSfsDto);

    TSfContract selectSearchById(Long sfContractId);

    List<TCwPaymentPlan> selectcwPaymentPlanList(Long sfContractId, int index);

    void UpdateState(Long sfContractId);
}
